package com.zy.web.demo.duoxiancheng.demo11;

/**
 * @author <a href="mailto:zhouyong@cqyyt.com">zy</a>
 * @version 1.0
 * @date 2020/8/3 15:23
 */
public class ObjectService {

    public void main(){
        try {
            System.out.println("begin task");
            Thread.sleep(3000);
            System.out.println("int begin name ="+Thread.currentThread().getName()+" ,time="+System.currentTimeMillis());
            System.out.println("int out name ="+Thread.currentThread().getName()+" ,time="+System.currentTimeMillis());
        }catch (InterruptedException e){

        }
    }
}
